<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<script type="text/javascript" src="./js/jquery-3.2.1.min.js"></script>
	<script type="text/javascript">
	  $(document).ready(function(){
	    $("#btn").on("click",function(){
	       $.ajax({
	          "url":"dish/100",
	          "type":"put",
	          "success":function(data){
	            alert(data);
	          },
	          "data":{
	             "username":"heather",
	             "address":"zhuhai"
	          }
	       
	       });
	    
	    });
	  
	  
	  });
	</script>

</head>
<body>
<input type="button" value="button" id="btn"></input>
</body>
</html>